package elitech.vietnam.myfashion;

import android.app.Activity;
import android.os.Bundle;
import elitech.vietnam.myfashion.widgets.TouchImageView;

public class ImageViewActivity extends Activity {
	private TouchImageView	touchImageView;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.imageview_activity);
		touchImageView = (TouchImageView) findViewById(R.id.imageZoom);

		String linkImage = getIntent().getStringExtra("Link");
		new DownloadImageTask(this, touchImageView, false, 1).execute(linkImage, "app/");
		// UrlImageViewHelper.setUrlDrawable(touchImageView,
		// (Const.SERVER_IMAGE_URL + linkImage).replace("app/", ""),
		// R.drawable.loading600);
		// UrlImageViewHelper.setUrlDrawable(touchImageView,
		// Const.SERVER_IMAGE_URL.replace("app/", "") + linkImage,
		// R.drawable.loading600);
	}
}
